#ifndef ITEMINFOWINDOW_H
#define ITEMINFOWINDOW_H

#include <QtWidgets>
#include <QtSql>

class ItemInfoWindow :public QDialog
{
     Q_OBJECT
public:
    ItemInfoWindow(int id, QSqlRelationalTableModel *items,QWidget *parent = nullptr);
    int id() const;
signals:
    void imageChanged(int id, const QString &fileName);
private:
    int itemId;
};

#endif // ITEMINFOWINDOW_H
